﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Resources/TPLOAMPage.Master" AutoEventWireup="true"
    CodeBehind="studentviewloa.aspx.cs" Inherits="TPLOAWebClient.studentviewloa" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navbarPHolder" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Button ID="studentprofileBtn" runat="server" Text="Student Profile" OnClick="studentprofileBtn_Click"
        CssClass="navbtnCSS" />
    <asp:Button ID="viewloaBtn" runat="server" Text="View LOA" OnClick="viewloaBtn_Click"
        CssClass="navbtnCSS" />
    <asp:Button ID="submitloaBtn" runat="server" Text="Submit LOA" OnClick="submitloaBtn_Click"
        CssClass="navbtnCSS" />
    <asp:Button ID="faqBtn" runat="server" Text="FAQ" OnClick="faqBtn_Click" CssClass="navbtnCSS" />
    <asp:Button ID="otherservicesBtn" runat="server" Text="Other Services" OnClick="otherservicesBtn_Click"
        CssClass="navbtnCSS" />
    <asp:Button ID="logoutBtn" runat="server" Text="Logout" OnClick="logoutBtn_Click"
        CssClass="navbtnCSS" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="sectionTitlePHolder" runat="server">
    View LOA
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="mainContentPHolder" runat="server">
    <asp:Label ID="lblResult" runat="server" ForeColor="Red"></asp:Label>
    <br />
    <asp:DataList ID="itemDlist" runat="server" BorderStyle="None" Width="100%">
        <HeaderTemplate>
            <table border="1px" rules="rows" style="width: 100%;">
                <tr>
                    <td>
                        <b>ID</b>
                    </td>
                    <td>
                        <b>Type</b>
                    </td>
                    <td>
                        <b>Date Submitted</b>
                    </td>
                    <td>
                        <b>Status</b>
                    </td>
                    <td>
                        <b>Modify</b>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <asp:Label ID="idLbl" runat="server" Text='<%# Eval("LOAID") %>'></asp:Label>
                </td>
                <td>
                    <asp:Label ID="typeLbl" runat="server" Text='<%# Eval("Type") %>'></asp:Label>
                </td>
                <td>
                    <asp:Label ID="datesubmittedLbl" runat="server" Text='<%# Eval("SubmitDateTime", "{0:c}") %>'></asp:Label>
                </td>
                <td>
                    <asp:Label ID="statusLbl" runat="server" Text='<%# Eval("ReviewStatus", "{0:c}") %>'></asp:Label>
                </td>
                <td>
                    <asp:HyperLink ID="deleteLbl" runat="server" Text='Delete' NavigateUrl='<%# "studentdeleteloa.aspx?loa="+Eval("LOAID") %>'></asp:HyperLink>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:DataList>
</asp:Content>
